#ifndef _TEXTURE_MANAGER_H_
#define _TEXTURE_MANAGER_H_

class CTextureManager
{
private:
	static CTextureManager* _inst;
protected:
	CTextureManager(){}
	CTextureManager(const CTextureManager& r);
	CTextureManager& operator = (const CTextureManager& r);

public:
	inline static CTextureManager* create(){return (_inst = new CTextureManager());}
	inline static CTextureManager* getInstance(){return _inst;}

	unsigned int loadTexture(const char* file);
};

#endif //_TEXTURE_MANAGER_H_